]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Pass state while calling _animateVisible()
authorSuryashankar Das <suryashankardas.2002@gmail.com>
Tue, 16 Mar 2021 12:51:05 +0000 (18:21 +0530)
committerMarge Bot <marge-bot@gnome.org>
Fri, 2 Apr 2021 10:20:32 +0000 (10:20 +0000)
Pass OverviewControls.ControlsState.WINDOW_PICKER to the _animateVisible
function in _hideDone().

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1769>

js/ui/overview.js

index 75fe6e1a8fcd47f67df845797fce2fadc0946a9f..ca5de0c22608097d70e71a851bda9b3f5f61082b 100644 (file)
@@ -619,7 +619,7 @@ var Overview = class {
         this.emit('hidden');
         // Handle any calls to show* while we were hiding
         if (this._shown)
-            this._animateVisible();
+            this._animateVisible(OverviewControls.ControlsState.WINDOW_PICKER);
         else
             Main.layoutManager.hideOverview();